package com.g.ocache;

/**
 * 
 * @author Jingqi Xu
 */
public interface StoreEntry<K, V> {
	
	/**
	 * 
	 */
	K getKey();
	
	V getValue();
	
	boolean isExpired();
	
	
	/**
	 * 
	 */
	interface Factory<K, V> {
		
		StoreEntry<K, V> create(K key, V value);
	}
}
